HAL SRAM state functions migration

This section provides information about the HAL SRAM state and error functions migration.


Gets the current state of the SRAM peripheral.

HAL1

HAL2

HAL_SRAM_GetState(const SRAM_HandleTypeDef *hsram);
HAL_SRAM_GetState(const hal_sram_handle_t *hsram);

Related concept: Revised and optimized HAL state machine